home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / WebSites / MailingLists / AMOSLIST.0899 / 000181_nobody_Fri Aug 27 15:23:34 1999.msg < prev    next >
Internet Message Format  |  1999-09-01  |  6KB

  1. Received: from onelist.com (pop1.onelist.com [209.207.164.245])
  2.     by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id PAA12070
  3.     for <mcox4@osf1.gmu.edu>; Fri, 27 Aug 1999 15:23:24 -0400 (EDT)
  4. Received: (qmail 6631 invoked by alias); 27 Aug 1999 19:22:34 -0000
  5. Received: (qmail 6466 invoked from network); 27 Aug 1999 19:22:30 -0000
  6. Received: from unknown (HELO fe060.worldonline.dk) (212.54.64.207) by pop1.onelist.com with SMTP; 27 Aug 1999 19:22:30 -0000
  7. Received: (qmail 5114 invoked by uid 0); 27 Aug 1999 19:22:10 -0000
  8. Received: from 13.ppp1-17.image.dk (HELO zedeler.dk) (212.54.74.13) by mail010.worldonline.dk with SMTP; 27 Aug 1999 19:22:10 -0000
  9. From: Rune Zedeler <rune@zedeler.dk>
  10. To: Andrew Crowe <amos-list@onelist.com>
  11. Date: Fri, 27 Aug 1999 21:16:46 +0100
  12. Message-ID: <yam7908.2339.137790792@mail010.worldonline.dk>
  13. In-Reply-To: <yam7908.1882.1196276776@mail.enterprise.net>
  14. X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
  15. Mailing-List: list amos-list@onelist.com; contact amos-list-owner@onelist.com
  16. Delivered-To: mailing list amos-list@onelist.com
  17. Precedence: bulk
  18. List-Unsubscribe: <mailto:amos-list-unsubscribe@ONElist.com>
  19. Reply-to: amos-list@onelist.com
  20. Mime-Version: 1.0
  21. Content-type: multipart/mixed; boundary="BOUNDARY.7908.2339.137790792.4"
  22. Subject: Re: [amos-list] Transparent Screen Copying
  23. Status: O
  24. X-Status: 
  25.  
  26. Warning: This is a message in MIME format. Your mail reader does not
  27. support MIME. Some parts of this message will be readable as plain text.
  28. To see the rest, you will need to upgrade your mail reader.
  29.  
  30. This message was composed on an Amiga using the YAM mailer.
  31. YAM is available at http://bitcom.ch/~mbeck/
  32.  
  33. --BOUNDARY.7908.2339.137790792.4
  34. Content-Type: text/plain; charset=iso-8859-1
  35. Content-Transfer-Encoding: quoted-printable
  36.  
  37. On 27-Aug-99, Andrew Crowe wrote:
  38.  
  39. >   I want to be able to copy one screen onto another so that all of colo=
  40. ur 0
  41. >is transparent, and shows through the destination screen's gfx.
  42.  
  43. I made a routing that does it.
  44. I don't don't know if it's faster than getting a bob and pasting it.
  45. I guess it is.
  46. In all cases it usesless temp memory (it uses the memery of onebitplane, =
  47. that
  48. is 10k in 320*256)
  49. The routine expects the source and dest screen to be of the same size (no=
  50. t
  51. same number  of colours, though)
  52. You have to give it a number of a temp-bank it can use for the mask. And =
  53. set a
  54. flag: True if the bank is to be reserved and erased; False if it is alrea=
  55. dy
  56. reserved.
  57.  
  58. By the way, during the test I found a(nother) bug in the AP-compiler:
  59. Min() doesn't work with floats.
  60. Try to compile
  61.   Print Min(6.0,4.0)
  62. (Result 6, should be 4)
  63.  
  64. Well, here it is. Only tested a little, but it appears to work.
  65. (Copy 16 colour 320*256 to 16 colour 320*256 takes 5 vblanks on '060 afte=
  66. r
  67. compilation):
  68.  
  69. -- =
  70.  
  71.  
  72.          /=AF\ __    __ /=AF=AF=AF=AF=AF\           _         Rune Zedele=
  73. r
  74. ________/ /// \\__/ \\\  ---/           \=AF-_      Rydev=E6nget 3,3th
  75. \      / //=AF|  \\/  ||=AF\ \\=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
  76.    =AF-_   8210 =C5rhus V
  77.  )    / //  | \ ` / ||  \ \\ Lemmus of Efreet  -  Denmark
  78. /    / =AF=AF=AF=AF=AF\\|\-'/ /=AF=AF=AF=AF=AF \\____________   _-=AF
  79. =AF=AF=AF=AF=AF\------'/||=AF=AF| \------'/           /_-=AF      rune@ze=
  80. deler.dk
  81.       =AF=AF=AF=AF=AF=AF\-'/  \-'/=AF=AF=AF=AF=AF=AF            =AF      =
  82.    Tel: +45-86750655
  83.              =AF=AF    =AF=AF
  84.  
  85. --BOUNDARY.7908.2339.137790792.4
  86. Content-Type: text/plain; charset=iso-8859-1; name="blk.asc"
  87. Content-Transfer-Encoding: x-uue
  88.  
  89. begin 644 YAM.msg.2
  90. M4')O8V5D=7)E(%-#4D-46U-20RQ$4U0L5$U00DY++%)%4T525D5&3%T*("`G"
  91. M0VAE8VL@=&AA="!S8W)E96YS(&%R92!S86UE('-I>F4*("!)9B!38W)E96X@4
  92. M5VED=&@H4T-2*3P^4V-R965N(%=I9'1H*$135"D@;W(@4V-R965N($AE:6=HU
  93. M="A34D,I/#Y38W)E96X@2&5I9VAT*$135"D*("`@(%-T;W`@.B!296T@4T]5A
  94. M4D-%(&%N9"!$15-4('-C<F5E;B!M=7-T(&)E(&]F('1H92!S86UE('-I>F4*N
  95. M("!%;F0@268@"B`@"B`@)T-A;&-U;&%T92!N=6UB97(@;V8@8FET<&QA;F5S/
  96. M(&]N('-O=7)C92!A;F0@9&5S="US8W)E96X@"B`@)R@@(DUI;B@V+C`L(B!BI
  97. M96-A=7-E(&]F($A!32`[("(K,"XU(B!T;R!P<F]T96-T(&9R;VT@:6YC;W)R#
  98. M96-T+7)O=6YD:6YG<RD@"B`@4V-R965N(%-20PH@(%-#4E<]4V-R965N(%=I#
  99. M9'1H(#H@4T-22#U38W)E96X@2&5I9VAT(#H@4T-24SU30U)(*E-#4E<O.`H@<
  100. M($Y535!,3E-20SU,;BA38W)E96X@0V]L;W5R*2],;B@R+C`I*S`N-0H@($Y53
  101. M35!,3E-#4CU-:6XH-BQ.54U03$Y30U(I"B`@4V-R965N($135`H@($Y535!,`
  102. M3D135#U,;BA38W)E96X@0V]L;W5R*2],;B@R+C`I*S`N-0H@($Y535!,3D13X
  103. M5#U-:6XH-BQ.54U03$Y$4U0I"B`@"B`@)TEF(%1-4$).2R!I<R!T;R!B92!R[
  104. M97-E<G9E9"!T:&5N(')E<V5R=F4@:70L(&5L<V4@8VAE8VL@:68@:70G<R!BQ
  105. M:6<@96YO=6=H"B`@268@4D5315)6149,"B`@("!297-E<G9E($%S(%=O<FL@:
  106. M5$U00DY++%-#4E,*("!%;'-E(`H@("`@268@3&5N9W1H*%1-4$).2RD\4T-2B
  107. M4PH@("`@("!3=&]P(#H@4F5M(%1-4$).2R!T;V\@<VUA;&P@"B`@("!%;F0@9
  108. M268@"B`@16YD($EF(`H@(%1!/5-T87)T*%1-4$).2RD*("`*("`G36%K92!ML
  109. M87-K(&EN('1H92!T96UP+6)A;FL@*&UA<VL@/2!A;&P@8FET<&QA;F5S(&9RZ
  110. M;VT@<V]U<F-E<V-R965N(&]R)V5D('1O9V5T:&5R*0H@("<H0V]P>2!F:7)SQ
  111. M="!P;&%N92!T;R!435!"3DLN(")/<B(@=&AE(&]T:&5R('!L86YE<R!I;G1O&
  112. M(&ET(&]N92!A="!A('1I;64I(`H@(%-C<F5E;B!34D,*("!#;W!Y($QO9V)A)
  113. M<V4H,"DL3&]G8F%S92@P*2M30U)3(%1O(%1!"B`@268@3E5-4$Q.4U)#/C$*5
  114. M("`@($9O<B!0/3$@5&\@3E5-4$Q.4U)#+3$*("`@("`@4T$]3&]G8F%S92A0X
  115. M*0H@("`@("!&;W(@23TP(%1O(%-#4E,M,2!3=&5P(#0*("`@("`@("!,;VMEQ
  116. M(%1!*TDL3&5E:RA402M)*2!O<B!,965K*%-!*TDI"B`@("`@($YE>'0@20H@G
  117. M("`@3F5X="!0"B`@16YD($EF(`H@(`H@("=%<F%S92!T:&4@87)E87,@;VX@4
  118. M9&5S='-C<F5E;B!W:&5R92!S;W5R8V5S8W)E96X@:7-N)W0@8V]L;W5R('IE4
  119. M<F\*("`G*")!;F0B(&1E<W1S8W)E96X@=VET:"`B3F]T(B!M87-K+"!O;F4@,
  120. M8FET<&QA;F4@870@=&AE('1I;64I"B`@4V-R965N($135`H@($9O<B!0/3`@`
  121. M5&\@36EN*$Y535!,3E-20RQ.54U03$Y$4U0I+3$*("`@($1!/4QO9V)A<V4H:
  122. M4"D*("`@($9O<B!)/3`@5&\@4T-24RTQ(%-T97`@-`H@("`@("!,;VME($1!F
  123. M*TDL3&5E:RA$02M)*2!A;F0@3F]T($QE96LH5$$K22D*("`@($YE>'0@20H@&
  124. M($YE>'0@4`H@(`H@("=#;W!Y('-O=7)C97-C<F5E;B!T;R!D97-T<V-R965N)
  125. M('5S:6YG(")/<B(*("!38W)E96X@0V]P>2!34D,L,"PP+%-#4E<L4T-22"!4+
  126. M;R!$4U0L,"PP+"4Q,3$P,#`P,`H@(`H@("=)9B!435!"3DL@=V%S('1O(&)EQ
  127. M(')E<V5R=F5D('1H96X@97)A<V4@:70@86=A:6X*("!)9B!215-%4E9%1DP*M
  128. D("`@($5R87-E(%1-4$).2PH@($5N9"!)9B`*16YD(%!R;V,*+
  129. ``
  130. end
  131. size 1746
  132.  
  133. --BOUNDARY.7908.2339.137790792.4--
  134.  
  135.